namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 服务器配置表
    /// </summary>
    [SugarTable("server_config")]
    public class ServerConfig : BaseEntity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public int Id { get; set; }

        /// <summary>
        /// 产线代号
        /// </summary>
        [SugarColumn(ColumnName = "production_line_code")]
        public string ProductionLineCode { get; set; }

        /// <summary>
        /// 上位机代号
        /// </summary>
        [SugarColumn(ColumnName = "hmi_code")]
        public string HmiCode { get; set; }

        /// <summary>
        /// 上位机名称
        /// </summary>
        [SugarColumn(ColumnName = "hmi_name")]
        public string HmiName { get; set; }

        /// <summary>
        /// 上位机IP
        /// </summary>
        [SugarColumn(ColumnName = "hmi_ip")]
        public string HmiIp { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "creation_time")]
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "creator_name")]
        public string CreatorName { get; set; }
    }
}